import { request } from '@umijs/max';

export async function fetchMenuData(appId: string) {
  return request(`${API_URL}//menu/getByAppId`, {
    method: 'GET',
    params: {
      appId: appId
    }
  });
}
